import { http } from "@/utils/http";
import { baseUrlApi } from "./utils";
import { UserResult } from "@/api/user";

//获取SSE数据
export const getRealTimeData = (data?: object) => {
  return http.request<UserResult>(
    "get",
    baseUrlApi("serverp-send-event/message"),
    {
      data
    }
  );
};
